<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
	body{height:2000px;}
	a{display: block;margin-top:1000px;}
	</style>
</head>
<body>
<button id="btn">刷新1</button>
<a href="#btn">111</a>
<script>
	var btn = document.getElementById('btn');
	btn.onclick = function(){
		// window.opener.location.reload(true);
		
		window.opener.location.href=window.opener.location.href;//刷新用window.open()方法打开本窗口的窗口
		
		// window.opener.document.getElementById('btn').innerHTML="刷新成功";
		window.close();
	};

</script>
 
</body>
</html>